// 搜索页面和历史记录相关的 API 接口
import request from '@/unlit/request.js'

export const Souindexaction = function (data) {
  return request.get('search/indexaction', data)
}

// 搜索页面的搜索框
export const helperaction = function (data) {
  return request.get('search/helperaction', data)
}


// 清空搜索历史
export const clearhistoryAction = function (data) {
  return request.post('search/clearhistoryAction', data)
}

// 添加搜索历史
export const addhistoryaction = function (data) {
  return request.post('search/addhistoryaction', data)
}

